Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[beta] another round of backports for 1.42 #69748

Merged
merged 8 commits into from
Mar 6, 2020

Conversation

Mark-Simulacrum
Copy link
Member

This backports the following pull requests:

@Mark-Simulacrum
Copy link
Member Author

@bors r+ p=1

@bors
Copy link
Contributor

bors commented Mar 5, 2020

📌 Commit 5379abbc0f87fc5311571948715cfc5f7b622a36 has been approved by Mark-Simulacrum

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Mar 5, 2020
@bors
Copy link
Contributor

bors commented Mar 6, 2020

⌛ Testing commit 5379abbc0f87fc5311571948715cfc5f7b622a36 with merge a3daaf029bcbbe159cf5aba18ffeff5d7408668e...

@rust-highfive
Copy link
Collaborator

The job x86_64-apple of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2020-03-06T02:20:59.8053820Z 
2020-03-06T02:20:59.8053930Z 
2020-03-06T02:20:59.8054180Z The actual stderr differed from the expected stderr.
2020-03-06T02:20:59.8055280Z Actual stderr saved to /Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/test/ui/issues/issue-69396-const-no-type-in-macro/issue-69396-const-no-type-in-macro.stderr
2020-03-06T02:20:59.8056290Z To update references, rerun the tests and pass the `--bless` flag
2020-03-06T02:20:59.8057160Z To only update this specific test, also pass `--test-args issues/issue-69396-const-no-type-in-macro.rs`
2020-03-06T02:20:59.8057960Z error: 1 errors occurred comparing output.
2020-03-06T02:20:59.8058260Z status: exit code: 1
2020-03-06T02:20:59.8058260Z status: exit code: 1
2020-03-06T02:20:59.8061270Z command: "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/stage2/bin/rustc" "/Users/runner/runners/2.165.0/work/1/s/src/test/ui/issues/issue-69396-const-no-type-in-macro.rs" "-Zthreads=1" "--target=x86_64-apple-darwin" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/test/ui/issues/issue-69396-const-no-type-in-macro" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/native/rust-test-helpers" "-L" "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/test/ui/issues/issue-69396-const-no-type-in-macro/auxiliary" "-A" "unused"
2020-03-06T02:20:59.8063720Z ------------------------------------------
2020-03-06T02:20:59.8063930Z 
2020-03-06T02:20:59.8064470Z ------------------------------------------
2020-03-06T02:20:59.8064730Z stderr:
2020-03-06T02:20:59.8064730Z stderr:
2020-03-06T02:20:59.8065300Z ------------------------------------------
2020-03-06T02:20:59.8065650Z error[E0428]: the name `A` is defined multiple times
2020-03-06T02:20:59.8066520Z   --> /Users/runner/runners/2.165.0/work/1/s/src/test/ui/issues/issue-69396-const-no-type-in-macro.rs:4:13
2020-03-06T02:20:59.8066920Z    |
2020-03-06T02:20:59.8067150Z LL |               const A = "A".$fn();
2020-03-06T02:20:59.8067710Z    |               |
2020-03-06T02:20:59.8067970Z    |               `A` redefined here
2020-03-06T02:20:59.8068310Z    |               previous definition of the value `A` here
2020-03-06T02:20:59.8068580Z ...
2020-03-06T02:20:59.8068580Z ...
2020-03-06T02:20:59.8068750Z LL | / suite! {
2020-03-06T02:20:59.8068950Z LL | |     len;
2020-03-06T02:20:59.8069160Z LL | |     is_empty;
2020-03-06T02:20:59.8069910Z    | |_- in this macro invocation
2020-03-06T02:20:59.8070160Z    |
2020-03-06T02:20:59.8070460Z    = note: `A` must be defined only once in the value namespace of this module
2020-03-06T02:20:59.8070760Z 
2020-03-06T02:20:59.8070760Z 
2020-03-06T02:20:59.8070970Z error: missing type for `const` item
2020-03-06T02:20:59.8071810Z   --> /Users/runner/runners/2.165.0/work/1/s/src/test/ui/issues/issue-69396-const-no-type-in-macro.rs:4:19
2020-03-06T02:20:59.8072200Z    |
2020-03-06T02:20:59.8072440Z LL |               const A = "A".$fn();
2020-03-06T02:20:59.8072840Z    |                     ^ help: provide a type for the item: `A: usize`
2020-03-06T02:20:59.8073160Z ...
2020-03-06T02:20:59.8073340Z LL | / suite! {
2020-03-06T02:20:59.8073540Z LL | |     len;
2020-03-06T02:20:59.8073750Z LL | |     is_empty;
2020-03-06T02:20:59.8074490Z    | |_- in this macro invocation
2020-03-06T02:20:59.8074680Z 
2020-03-06T02:20:59.8075020Z error[E0121]: the type placeholder `_` is not allowed within types on item signatures
2020-03-06T02:20:59.8075940Z   --> /Users/runner/runners/2.165.0/work/1/s/src/test/ui/issues/issue-69396-const-no-type-in-macro.rs:4:19
2020-03-06T02:20:59.8075940Z   --> /Users/runner/runners/2.165.0/work/1/s/src/test/ui/issues/issue-69396-const-no-type-in-macro.rs:4:19
2020-03-06T02:20:59.8076340Z    |
2020-03-06T02:20:59.8076570Z LL |               const A = "A".$fn();
2020-03-06T02:20:59.8077320Z    |                     |
2020-03-06T02:20:59.8077820Z    |                     not allowed in type signatures
2020-03-06T02:20:59.8078450Z    |                     help: replace `_` with the correct type: `bool`
2020-03-06T02:20:59.8078800Z ...
2020-03-06T02:20:59.8078800Z ...
2020-03-06T02:20:59.8079000Z LL | / suite! {
2020-03-06T02:20:59.8079210Z LL | |     len;
2020-03-06T02:20:59.8079440Z LL | |     is_empty;
2020-03-06T02:20:59.8080330Z    | |_- in this macro invocation
2020-03-06T02:20:59.8080540Z 
2020-03-06T02:20:59.8080800Z error: aborting due to 3 previous errors
2020-03-06T02:20:59.8081010Z 
---
2020-03-06T02:20:59.8108940Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:349:22
2020-03-06T02:20:59.8109550Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-03-06T02:20:59.8125200Z 
2020-03-06T02:20:59.8125440Z 
2020-03-06T02:20:59.8131350Z command did not execute successfully: "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/stage0-tools-bin/compiletest" "--compile-lib-path" "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/stage2/lib" "--run-lib-path" "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib" "--rustc-path" "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/stage2/bin/rustc" "--src-base" "/Users/runner/runners/2.165.0/work/1/s/src/test/ui" "--build-base" "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/test/ui" "--stage-id" "stage2-x86_64-apple-darwin" "--mode" "ui" "--target" "x86_64-apple-darwin" "--host" "x86_64-apple-darwin" "--llvm-filecheck" "/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/llvm/build/bin/FileCheck" "--nodejs" "/usr/local/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/Users/runner/runners/2.165.0/work/1/s/build/x86_64-apple-darwin/native/rust-test-helpers" "--docck-python" "/usr/local/bin/python2.7" "--lldb-python" "/usr/bin/python3" "--lldb-version" "lldb-1100.0.30.12\nApple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)\n" "--lldb-python-dir" "/Applications/Xcode_11.3.1.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python3" "--llvm-version" "9.0.1-rust-1.42.0-beta\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-03-06T02:20:59.8135470Z 
2020-03-06T02:20:59.8135590Z 
2020-03-06T02:20:59.8137680Z failed to run: /Users/runner/runners/2.165.0/work/1/s/build/bootstrap/debug/bootstrap test
2020-03-06T02:20:59.8138240Z Build completed unsuccessfully in 0:48:41
2020-03-06T02:20:59.8138240Z Build completed unsuccessfully in 0:48:41
2020-03-06T02:20:59.8188770Z == clock drift check ==
2020-03-06T02:20:59.8243410Z   local time: Fri Mar  6 02:20:59 UTC 2020
2020-03-06T02:20:59.9200930Z   network time: Fri, 06 Mar 2020 02:20:59 GMT
2020-03-06T02:20:59.9201810Z == end clock drift check ==
2020-03-06T02:20:59.9243410Z 
2020-03-06T02:20:59.9316540Z ##[error]Bash exited with code '1'.
2020-03-06T02:20:59.9395550Z ##[section]Starting: Checkout rust-lang/rust@auto to s
2020-03-06T02:20:59.9402080Z ==============================================================================
2020-03-06T02:20:59.9402490Z Task         : Get sources
2020-03-06T02:20:59.9402910Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @rust-lang/infra. (Feature Requests)

@bors
Copy link
Contributor

bors commented Mar 6, 2020

💔 Test failed - checks-azure

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 6, 2020
Centril and others added 7 commits March 5, 2020 21:35
This change avoids the ICE by actually emitting an appropriate error. The
output will be duplicated in some cases, but that's better than the
avoidable ICE.
This is a minimal regression test for the issue rust-lang#68794: "TEXTREL in
i686", which was fixed with e86019c.

The test links a minimal rust static library into a shared library, and
checks that the linker didn't have to add the TEXTREL flag.
@Mark-Simulacrum
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Mar 6, 2020

📌 Commit cead378 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 6, 2020
@bors
Copy link
Contributor

bors commented Mar 6, 2020

⌛ Testing commit cead378 with merge 33c4c571a74e75d264028d35c3cee2dbad337e1b...

@rust-highfive
Copy link
Collaborator

Your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @rust-lang/infra. (Feature Requests)

@bors
Copy link
Contributor

bors commented Mar 6, 2020

💔 Test failed - checks-azure

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 6, 2020
@pietroalbini
Copy link
Member

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 6, 2020
@pietroalbini
Copy link
Member

@bors p=1001

@bors
Copy link
Contributor

bors commented Mar 6, 2020

⌛ Testing commit cead378 with merge b08d071...

@bors
Copy link
Contributor

bors commented Mar 6, 2020

☀️ Test successful - checks-azure
Approved by: Mark-Simulacrum
Pushing b08d071 to beta...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Mar 6, 2020
@bors bors merged commit b08d071 into rust-lang:beta Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.